object FormIUIngredienteUnidade: TFormIUIngredienteUnidade
  Left = 629
  Top = 252
  Width = 577
  Height = 364
  BorderIcons = []
  Caption = 'Itens Unidade'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  OnActivate = FormActivate
  PixelsPerInch = 96
  TextHeight = 13
  object Label2: TLabel
    Left = 35
    Top = 105
    Width = 154
    Height = 16
    Alignment = taRightJustify
    Caption = 'Unidades Dispon'#237'veis'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object Label3: TLabel
    Left = 313
    Top = 105
    Width = 172
    Height = 16
    Alignment = taRightJustify
    Caption = 'Unidades do Ingrediente'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object LabelIngrediente: TLabel
    Left = 43
    Top = 33
    Width = 34
    Height = 16
    Caption = 'Item:'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
  end
  object DBLookupListBox1: TDBLookupListBox
    Left = 32
    Top = 128
    Width = 225
    Height = 100
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    KeyField = 'id'
    ListField = 'nome'
    ListSource = DataSource1
    ParentFont = False
    TabOrder = 0
  end
  object Button1: TButton
    Left = 264
    Top = 168
    Width = 33
    Height = 25
    Caption = '>'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clMaroon
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 1
    OnClick = Button1Click
  end
  object Button2: TButton
    Left = 264
    Top = 200
    Width = 33
    Height = 25
    Caption = '<'
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'MS Sans Serif'
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 2
    OnClick = Button2Click
  end
  object DBLookupListBox2: TDBLookupListBox
    Left = 304
    Top = 128
    Width = 225
    Height = 100
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'MS Sans Serif'
    Font.Style = []
    KeyField = 'id'
    ListField = 'unidade'
    ListSource = DataSource2
    ParentFont = False
    TabOrder = 3
  end
  object BitBtn1: TBitBtn
    Left = 248
    Top = 280
    Width = 75
    Height = 33
    TabOrder = 4
    Kind = bkOK
  end
  object DataSource1: TDataSource
    DataSet = QueryUnidade
    Left = 160
    Top = 80
  end
  object QueryUnidade: TQuery
    DatabaseName = 'DBPizza'
    SQL.Strings = (
      'select * from unidade'
      'where id not in'
      
        '(select id_unidade from item_estoque_unidade where id_item_estoq' +
        'ue = :p_ingrediente)'
      'order by nome')
    Left = 128
    Top = 80
    ParamData = <
      item
        DataType = ftInteger
        Name = 'p_ingrediente'
        ParamType = ptUnknown
      end>
  end
  object DataSource2: TDataSource
    DataSet = QueryUnidadeIngred
    Left = 424
    Top = 72
  end
  object QueryUnidadeIngred: TQuery
    DatabaseName = 'DBPizza'
    SQL.Strings = (
      
        'select unidade_name(id_unidade,'#39'NM'#39') as unidade, item_estoque_un' +
        'idade.* '
      'from item_estoque_unidade '
      'where id_item_estoque= :p_ingrediente'
      'order by 1')
    Left = 392
    Top = 72
    ParamData = <
      item
        DataType = ftInteger
        Name = 'p_ingrediente'
        ParamType = ptUnknown
      end>
  end
end
